<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"
%>
<!DOCTYPE html>
<html lang="en">
	<head>
	</head>
    <body>
    	<div class="page-head">
    		<div class="page-title">
				<h1>
				用户管理
				</h1>
			</div>
    	</div>
        <div class="row">
            <div class="col-md-12">
                <div class="portlet light bordered">
                    <div class="portlet-body">
                    	<div class="dataTables_wrapper no-footer">
				    		<div class="table">
				    			<table  id="userlist" class="table table-striped table-bordered table-hover table-checkable order-column">
		                            <thead>
		                                <tr>
		                                    <th></th>
		                                    <th>工号</th>
		                                    <th>姓名</th>
		                                    <th>密码</th>
		                                </tr>
		                            </thead>
		                            <tbody>                            
		                            </tbody>
	                        	</table>
				    		</div>
                    	</div>
                    </div>
                </div>
            </div>
        </div>
        
        <!--------------------------添加/修改部门的弹出层---------------------------->
		<div id="modalAdd" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
		    <div class="modal-dialog">
		        <div class="modal-content">
		            <div class="modal-header">
		                <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
		                <h4 class="modal-title">
		                    <i class="icon-pencil"></i>
		                    <input id="updateID" name="updateID" value="" type="hidden">
		                    <span id="lblAddTitle" style="font-weight:bold">添加用户</span>
		                </h4>
		            </div>
		            <form id="userform" class="form-horizontal form-bordered form-row-strippe" action="" data-toggle="validator" enctype="multipart/form-data">
		                <div class="modal-body">
		                    <div class="row">
		                        <div class="col-md-12">
		                            <div class="form-group">
		                                <label class="control-label col-md-2">工号</label>
		                                <div class="col-md-10">
		                                     <input id="id" name="id" type="text" class="form-control" placeholder="工号" />
		                                </div>
		                            </div>
		                        </div>
		                        <div class="col-md-12">
		                            <div class="form-group">
		                                <label class="control-label col-md-2">姓名</label>
		                                <div class="col-md-10">
		                                    <input id="name" name="name" type="text" class="form-control" placeholder="姓名" />
		                                </div>
		                            </div>
		                        </div>
		                        <div class="col-md-12">
		                            <div class="form-group">
		                                <label class="control-label col-md-2">密码</label>
		                                <div class="col-md-10">
		                                     <input id="psd" name="psd" type="text" class="form-control" placeholder="密码" />
		                                </div>
		                            </div>
		                        </div>
		                    </div>
		                </div>
		                <div class="modal-footer bg-info">
		                    <button class="btn btn-outline dark" data-dismiss="modal" type="button" id="CancelUser">取消</button>
							<button class="btn green" type="button" id="btnAddUser">确定</button>
		                </div>
		            </form>
		        </div>
		    </div>
		</div>
		<!--------------------------删除部门的弹出层---------------------------->
		<div id="modalDel" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
			<div class="modal-dialog">
				<div class="modal-content">
					<div class="modal-header">
						<button class="close" aria-hidden="true" data-dismiss="modal" type="button"></button>
						<h4 class="modal-title">
							<i class="icon-info"></i>
							<span id="prompt" style="font-weight:bold">提示</span>
						</h4>
					</div>
					<div class="modal-body">你确定删除所选的用户吗？ </div>
					<div class="modal-footer bg-info">
						<button class="btn btn-outline dark" data-dismiss="modal" type="button">取消</button>
						<button class="btn green" type="button" id="btnDelUser">确定</button>
					</div>
				</div>
			</div>
		</div>
		<script src="../../assets/views/script/user.js" type="text/javascript"></script>	
    </body>
</html>